/*
 *The code is written by 51jiecai.com.
 *All rights reserved.
 */
package creational.design.patterns.singleton;

/**
 *
 *@author forgkan Created on 2015年4月23日
 *
 */
public class LazyInitializedSingleton {
	
	private static LazyInitializedSingleton instance;
	
	private LazyInitializedSingleton() {
		
	}
	
	public static LazyInitializedSingleton getInstance() {
		if(instance == null) {
			instance = new LazyInitializedSingleton();
		}
		
		return instance;
	}

}
